package com.xiaoze.steampy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小泽
 * @since 2022-04-11
 */
@Getter
@Setter
@TableName("rechargerecord")
@ToString
public class Rechargerecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @TableField("id")
    private String id;

    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;

    /**
     * 创建时间
     */
    @TableField("created")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date created;

    /**
     * 充值金额
     */
    @TableField("balance")
    private String balance;


}
